mkdir build
cd build
cmake .. -G "MinGW Makefiles"

mingw32-make

hello.exe
pause